package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractRulesFactory
{
    private ContractRulesFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractRules getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractRules)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6AD0953F") ,com.kingdee.eas.xbang.contract.IContractRules.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractRules getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractRules)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6AD0953F") ,com.kingdee.eas.xbang.contract.IContractRules.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractRules getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractRules)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6AD0953F"));
    }
    public static com.kingdee.eas.xbang.contract.IContractRules getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractRules)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6AD0953F"));
    }
}